var request = null;
var request2 = null;
var request3 = null;
var request4 = null;
var request5 = null;

function createRequest() {
	try {
		request = new XMLHttpRequest();
	} catch (trymicrosoft) {
		try {
			request = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (othermicrosoft) {
			try {
				request = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (failed) {
				request = null;
			}
		}
	}

	if (request == null)
		alert("Error creating request object!");
}

function createRequest2() {
	try {
		request2 = new XMLHttpRequest();
	} catch (trymicrosoft) {
		try {
			request2 = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (othermicrosoft) {
			try {
				request2 = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (failed) {
				request2 = null;
			}
		}
	}

	if (request2 == null)
		alert("Error creating request object!");
}

function createRequest3() {
	try {
		request3 = new XMLHttpRequest();
	} catch (trymicrosoft) {
		try {
			request3 = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (othermicrosoft) {
			try {
				request3 = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (failed) {
				request3 = null;
			}
		}
	}

	if (request3 == null)
		alert("Error creating request object!");
}

function createRequest4() {
	try {
		request4 = new XMLHttpRequest();
	} catch (trymicrosoft) {
		try {
			request4 = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (othermicrosoft) {
			try {
				request4 = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (failed) {
				request4 = null;
			}
		}
	}

	if (request4 == null)
		alert("Error creating request object!");
}

function createRequest5() {
	try {
		request5 = new XMLHttpRequest();
	} catch (trymicrosoft) {
		try {
			request5 = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (othermicrosoft) {
			try {
				request5 = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (failed) {
				request5 = null;
			}
		}
	}

	if (request5 == null)
		alert("Error creating request object!");
}